package cn.redsoft.wechatapi.msg.req.generic;

import cn.redsoft.wechatapi.msg.req.RequestMsg;
import cn.redsoft.wechatapi.msg.req.RequestMsgType;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class ShortVideoRequestMsg extends RequestMsg {
	@XStreamAlias("ThumbMediaId")
	protected String thumbMediaId;
	@XStreamAlias("MediaId")
	protected String mediaId;

	public ShortVideoRequestMsg() {
		this.msgType = RequestMsgType.SHORT_VEDIO;
	}

	public ShortVideoRequestMsg(String toUserName, String fromUserName,
			Long createTime, long msgId) {
		super(toUserName, fromUserName, createTime, null, msgId);
		this.msgType = RequestMsgType.SHORT_VEDIO;
	}

	public String getThumbMediaId() {
		return thumbMediaId;
	}

	public void setThumbMediaId(String thumbMediaId) {
		this.thumbMediaId = thumbMediaId;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	@Override
	public String toString() {
		return "ShortVideoRequestMsg [thumbMediaId=" + thumbMediaId
				+ ", mediaId=" + mediaId + ", toUserName=" + toUserName
				+ ", fromUserName=" + fromUserName + ", createTime="
				+ createTime + ", msgType=" + msgType + ", msgId=" + msgId
				+ "]";
	}

}
